package top.pmwly.web.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import top.pmwly.service.TestService;


/**
 * @author Herther
 * @version 1.0.0
 * @ClassName TestController.java
 * @Description 测试启动控制层
 * @createTime 2021年09月20日 14:01:00
 */
@Api(tags = "TestController")
@RestController
public class TestController {


   @Autowired
   private TestService testService;



    @ApiOperation("测试程序1")
    @GetMapping("/Test1")
    public String test1(@ApiParam(name= "id",value="编号",required = true,type = "Long") long  id ){
        String msg = testService.testMessage("参数——>hell Service");
        return msg;
    }


}
